package com.gao.autowired.sort;

import org.springframework.core.PriorityOrdered;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * @author GaoXi
 * @date 2022/2/24 19:51
 */

//@Order(2)
@Component
public class SortedBean1 implements SortBean , PriorityOrdered {


    @Override
    public int getOrder() {
        return 2;
    }
}
